package com.smart4s.app.core.positionservice.contract;

import java.util.Map;

/**
 * Created by Android Studio.
 * User: 赵志鹏
 * Date: 2019/12/27
 * Time: 14:11
 */
public interface Contracts {

    interface IModel{
        void onPostInfo(String url, Map<String, Object> map, Class cla, MyCallBack myCallBack);
    }

    interface IView<T>{
        void onSuccess(T t);
        void onError(String error);
    }

    interface IPresenter{
        void startPost(String url, Map<String, Object> map, Class cla);
    }

    interface MyCallBack<T>{
        void onSuccess(T t);
        void onError(String error);
    }
}
